package cn.ds.fly.modules.sys.entity;

import cn.ds.fly.common.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * Created by lds on 2017/12/14.
 */
@Table(name = "fly_role")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FlyRole extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 4104099193297926043L;

    @Column(name = "role_name")
    private String roleName;
    @Column(name = "dept_id")
    private String deptId;
    @Transient
    private String deptName;

}
